package de.andreavicentini.teatralia.pages.home;

import org.magiclabs.htmlx.Link;

import de.andreavicentini.teatralia.pages.TeatraliaPage;

public class TeatraliaBigLink extends Link {

	private final TeatraliaPage page;

	public TeatraliaBigLink(TeatraliaPage object) {
		super(object);
		page = object;
	}
	
	@Override
	protected String renderName() {
		return super.renderName() + "<br><span class=\"subtitle\">" + this.page.getDescription() + "</span>";

	}

}
